826870a379354a6b252b0af7b0331b7fyekayo/en/public/header.html|826870a379354a6b252b0af7b0331b7f
<title>My Account - <?php echo $this->_tpl_vars['lngpack']['sitename'] ?></title>
<!--[if IE 6]>
<style type="text/css" media="screen">
body {behavior:url("<?php echo $this->_tpl_vars['url'] ?>templates/goods/style/csshover.htc"); }
</style>
<![endif]-->
826870a379354a6b252b0af7b0331b7fyekayo/en/public/header_nav.html|826870a379354a6b252b0af7b0331b7f

	<!--left-->
	<div class="framecenter margintop8">
		<div style="float:left">
			<!--分类栏目-->
			<div class="tbottonlist">
				<div class="tg">Operating Function  </div>
				<div class="l">826dfebd693cd4d9f372d59e23d5a077memmenu|<?php echo $this->_tpl_vars['lng'] ?>||826dfebd693cd4d9f372d59e23d5a077</div>
				<div class="tb"></div>
			</div>
		</div>
		<!--会员功能显示-->
		<?php if($this->_tpl_vars['out']=='center'){ ?>
		<div style="float:right;">
			<div class="righttext"><div class="ttitle"><h3><span class="font03 strong colorgreg"><?php echo $this->_tpl_vars['member']['username'] ?></span>&nbsp;Member Center Sign Welcome</h3></div></div>
			<div class="righttext center">
				<table style="width: 100%" class="tablelist">
					<tr>
						<td class="td02 right" width="30%">The time of your last login</td>
						<td class="td02 left"><span class="font05 colorgorning"><?php echo $this->timeformat($this->_tpl_vars['member']['lasttime'],3) ?></span></td>
					</tr>
					<tr>
						<td class="td02 right">Your last visit of the IP is:</td>
						<td class="td02 left"><span class="font05 colorgorning"><?php echo $this->ip($this->_tpl_vars['member']['lastip'],0) ?></span></td>
					</tr>
					<tr>
						<td class="td02 right">Your membership grade:</td>
						<td class="td02 left"><span class="font05 colorgorning"><?php echo $this->_tpl_vars['member']['rankname'] ?></span></td>
					</tr>
					<tr>
						<td class="td02 right">Your membership points are:</td>
						<td class="td02 left"><span class="font05 colorgorning"><?php echo $this->_tpl_vars['member']['integral'] ?></span></td>
					</tr>
					<tr>
						<td class="td02 right">Your login number is:</td>
						<td class="td02 left"><span class="font05 colorgorning"><?php echo $this->_tpl_vars['member']['visitcount'] ?></span></td>
					</tr>
					<tr>
						<td class="td02 right">You can operate:</td>
						<td class="td02 left">
							<a class="infolink02" href="<?php echo $this->_tpl_vars['mlink']['memedit_info'] ?>">My Profile</a>&nbsp;&nbsp;
							<a class="infolink02" href="<?php echo $this->_tpl_vars['mlink']['memedit_password'] ?>">Change password</a>&nbsp;&nbsp;
							<a class="infolink02" href="<?php echo $this->_tpl_vars['mlink']['quit'] ?>">Logout</a>
						</td>
					</tr>
				</table>
			</div>
			<div class="righttext margintop8" style="margin-top:20px;"><div class="ttitle"><h3>Order Tips</h3></div></div>
			<div class="righttext center">
				<table style="width: 100%" class="tablelist">
					<tr>
						<td class="td02 center">Your site submitted a total of <u><?php echo $this->_tpl_vars['ordernum'] ?></u> set <span class="colorgreg centertext">You have <u><?php echo $this->_tpl_vars['ordernum3'] ?></u> orders have been shipped</span> <span class="paddingleft"><a class="infolink05" href="<?php echo $this->_tpl_vars['mlink']['orderlist'] ?>">Click to view order list</a></span></td>
					</tr>
				</table>
			</div>
		</div>
		<?php } elseif($this->_tpl_vars['out']=='editinfo'){ ?>
		<script type="text/javascript" src="<?php echo $this->_tpl_vars['url'] ?>js/ajax_city.js"></script>
		<script type="text/javascript">
		$(function() {
			list_cityone(0, '<?php echo $this->_tpl_vars['member']['country'] ?>');
		    //sec_cityone('<?php echo $this->_tpl_vars['member']['country'] ?>','<?php echo $this->_tpl_vars['member']['province'] ?>');
		    //sec_citytwo('<?php echo $this->_tpl_vars['member']['province'] ?>','<?php echo $this->_tpl_vars['member']['city'] ?>');
		    //sec_district('<?php echo $this->_tpl_vars['member']['city'] ?>','<?php echo $this->_tpl_vars['member']['district'] ?>');
		});
		var citytwo_title = "<?php echo $this->_tpl_vars['lngpack']['citytwo_title'] ?>";
		var citythree_title = "<?php echo $this->_tpl_vars['lngpack']['citythree_title'] ?>";
		var district_title = "<?php echo $this->_tpl_vars['lngpack']['district_title'] ?>";
		var birthday_empty = "<?php echo $this->_tpl_vars['lngpack']['birthday_empty'] ?>";
		var zipcode_empty = "<?php echo $this->_tpl_vars['lngpack']['zipcode_empty'] ?>";
		var qq_empty = "<?php echo $this->_tpl_vars['lngpack']['qq_empty'] ?>";
		</script>
		<div style="float:right;">
			<div class="righttext"><div class="ttitle"><h3>My Profile</h3></div></div>
			<div class="righttext center">
				<form name="editmember" id="editmember" method="post" action="<?php echo $this->_tpl_vars['mlink']['membersave'] ?>" onsubmit="return editinfo()">
				<input type="hidden" name="upurl" value="<?php echo $this->_tpl_vars['upurl'] ?>">
				<input type="hidden" name="inputclass" value="editinfo">
				<input type="hidden" name="userid" value="<?php echo $this->_tpl_vars['member']['userid'] ?>">
				<input type="hidden" name="username" value="<?php echo $this->_tpl_vars['member']['username'] ?>">
				<input type="hidden" name="email" value="<?php echo $this->_tpl_vars['member']['email'] ?>">
				<table style="width: 100%" class="tablelist">
					<tr>
						<td class="td02 right" width="20%">Username：</td>
						<td class="td02 left"><u><?php echo $this->_tpl_vars['member']['username'] ?></u></td>
					</tr>
					<tr>
						<td class="td02 right">E-mail：</td>
						<td class="td02 left"><u><?php echo $this->_tpl_vars['member']['email'] ?></u></td>
					</tr>
					<tr>
						<td class="td02 right">Name：</td>
						<td class="td02 left"><input type="text" name="alias" value="<?php echo $this->_tpl_vars['member']['alias'] ?>" maxlength="50" size="30" class="infoInput"></td>
					</tr>
					<tr>
						<td class="td02 right">Sex：</td>
						<td class="td02 left">
						<input type="radio" value="1" name="sex" <?php if($this->_tpl_vars['member']['sex']==1){ ?>checked<?php } ?>> Male&nbsp;
						<input type="radio" value="0" name="sex" <?php if($this->_tpl_vars['member']['sex']==0){ ?>checked<?php } ?>> Female
						</td>
					</tr>
					<tr>
						<td class="td02 right">Birthday：</td>
						<td class="td02 left"><input type="text" name="birthday" value="<?php echo $this->timeformat($this->_tpl_vars['member']['birthday'],2) ?>" maxlength="100" class="infoInput" size="20"> <span>Format :0000-00-00</span></td>
					</tr>
					<tr>
						<td class="td02 right">Country：</td>
						<td class="td02 left">
							<select size="1" name="cityone" class="select" id="cityone">
								<option value="0">Please select a country</option>
							</select>
							<!--<select size="1" name="citytwo" class="select" id="citytwo">
								<option selected value="0">Select province</option>
							</select>
							<select size="1" name="citythree" class="select" id="citythree">
								<option selected value="0">Select city</option>
							</select>
							<select size="1" name="district" class="select" id="district">
								<option selected value="0">Select district</option>
							</select>
							<span id="loading">Loading</span>-->
						</td>
					</tr>
					<tr>
						<td class="td02 right">Address：</td>
						<td class="td02 left"><input type="text" name="address" value="<?php echo $this->_tpl_vars['member']['address'] ?>" maxlength="120" size="60" class="infoInput" ></td>
					</tr>
					<tr>
						<td class="td02 right">Zipcode：</td>
						<td class="td02 left"><input type="text" name="zipcode" value="<?php echo $this->_tpl_vars['member']['zipcode'] ?>" maxlength="10" size="10" class="infoInput"></td>
					</tr>
					<tr>
						<td class="td02 right">TEL：</td>
						<td class="td02 left"><input type="text" name="tel" value="<?php echo $this->_tpl_vars['member']['tel'] ?>" maxlength="20" size="18" class="infoInput"></td>
					</tr>
					<tr>
					    <td class="td02 right">Mobile</td>
					    <td class="td02 left"><input type="text" name="mobile" value="<?php echo $this->_tpl_vars['member']['mobile'] ?>" maxlength="20" size="18" class="infoInput"></td>
					</tr>
					<tr>
					    <td class="td02 right">MSN</td>
					    <td class="td02 left"><input type="text" name="msn" value="<?php echo $this->_tpl_vars['member']['msn'] ?>" maxlength="50" size="30" class="infoInput"></td>
					</tr>
					<!--<tr>
					    <td class="td02 right">QQ</td>
					    <td class="td02 left"><input type="text" name="qq" value="<?php echo $this->_tpl_vars['member']['qq'] ?>" maxlength="10" size="15" class="infoInput"></td>
					</tr>-->
					<?php if (count($this->_tpl_vars['attrread'])>0){$divid_i=1;for($i=0;$i<count($this->_tpl_vars['attrread']); $i++){?>
					<?php if($this->_tpl_vars['attrread'][$i]['isline']==1){ ?>
					<tr>
						<td colspan="2" class="td02 left"><?php echo $this->_tpl_vars['attrread'][$i]['typename'] ?></td>
					</tr>
					<?php }else{ ?>
					<tr>
						<td class="td02 right"><?php echo $this->_tpl_vars['attrread'][$i]['typename'] ?></td>
						<td class="td02 left">
						<?php if($this->_tpl_vars['attrread'][$i]['inputtype']=='string'){ ?><input type="text"<?php if($this->_tpl_vars['attrread'][$i]['isvalidate']==1){ ?> onblur="if (this.value.match(/^<?php echo $this->_tpl_vars['attrread'][$i]['validatetext'] ?>$/ig)==null){alert('<?php echo $this->_tpl_vars['attrread'][$i]['typename'] ?><?php echo $this->_tpl_vars['ST']['input_err'] ?>');return false;}" <?php } ?>name="memberatt[<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>]" size="<?php echo $this->_tpl_vars['attrread'][$i]['attrsize'] ?>" maxlength="<?php echo $this->_tpl_vars['attrread'][$i]['attrlenther'] ?>" value="<?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'] ?>" class="infoInput"/><?php } ?>
						<?php if($this->_tpl_vars['attrread'][$i]['inputtype']=='int'){ ?><input type="text" <?php if($this->_tpl_vars['attrread'][$i]['isvalidate']==1){ ?> onblur="if (this.value.match(/^<?php echo $this->_tpl_vars['attrread'][$i]['validatetext'] ?>$/ig)==null){alert('<?php echo $this->_tpl_vars['attrread'][$i]['typename'] ?><?php echo $this->_tpl_vars['ST']['input_err'] ?>');return false;}" <?php } ?>name="memberatt[<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>]" size="<?php echo $this->_tpl_vars['attrread'][$i]['attrsize'] ?>" maxlength="<?php echo $this->_tpl_vars['attrread'][$i]['attrlenther'] ?>" value="<?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'] ?>" class="infoInput"/><?php } ?>
						<?php if($this->_tpl_vars['attrread'][$i]['inputtype']=='datetime'){ ?>
							<input type="text" id="dataselect" name="memberatt[<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>]" size="<?php echo $this->_tpl_vars['attrread'][$i]['attrsize'] ?>" value="<?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'] ?>" class="infoInput"/>
						<?php } ?>
						<?php if($this->_tpl_vars['attrread'][$i]['inputtype']=='img'){ ?>
							<input type="text" <?php if($this->_tpl_vars['attrread'][$i]['isvalidate']==1){ ?> onblur="if (this.value.match(/^<?php echo $this->_tpl_vars['attrread'][$i]['validatetext'] ?>$/ig)==null){alert('<?php echo $this->_tpl_vars['attrread'][$i]['typename'] ?><?php echo $this->_tpl_vars['ST']['input_err'] ?>');return false;}" <?php } ?>name="memberatt[<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>]" id="<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>" size="<?php echo $this->_tpl_vars['attrread'][$i]['attrsize'] ?>" value="<?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'] ?>" class="infoInput"/>
							<a class="filecheck" onclick="javascript:windowsdig('<?php echo $this->_tpl_vars['ST']['filemanage_select_title'] ?>','iframe:index.php?archive=filemanage&action=filemanage&listfunction=filelist&filetype=img&checkfrom=input&fileinputid=<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>','900px','480px','iframe')" href="#body"><?php echo $this->_tpl_vars['ST']['selectfile_botton'] ?></a>
						<?php } ?>
						<?php if($this->_tpl_vars['attrread'][$i]['inputtype']=='addon'){ ?>
							<input type="text" name="memberatt[<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>]" id="<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>" size="<?php echo $this->_tpl_vars['attrread'][$i]['attrsize'] ?>" value="<?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'] ?>" class="infoInput"/>
							<a class="filecheck" onclick="javascript:windowsdig('<?php echo $this->_tpl_vars['ST']['filemanage_select_title'] ?>','iframe:index.php?archive=filemanage&action=filemanage&listfunction=filelist&filetype=img&checkfrom=input&fileinputid=<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>','900px','480px','iframe')" href="#body"><?php echo $this->_tpl_vars['ST']['selectfile_botton'] ?></a>
						<?php } ?>
						<?php if($this->_tpl_vars['attrread'][$i]['inputtype']=='text'){ ?><textarea name="memberatt[<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>]" cols="<?php echo $this->_tpl_vars['attrread'][$i]['attrsize'] ?>" rows="<?php echo $this->_tpl_vars['attrread'][$i]['attrrow'] ?>" class="infoInput"><?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'] ?></textarea><?php } ?>
						<?php if($this->_tpl_vars['attrread'][$i]['inputtype']=='select'){ ?>
							<select size="1" name="memberatt[<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>]">
							<?php if (count($this->_tpl_vars['attrread'][$i]['attrvalue'])>0){$divid_ii=1;for($ii=0;$ii<count($this->_tpl_vars['attrread'][$i]['attrvalue']); $ii++){?>
								<option <?php if($this->_tpl_vars['attrread'][$i]['attrvalue'][$ii]['selected']=='selected'){ ?>selected="selected" <?php } ?>value="<?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'][$ii]['name'] ?>"><?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'][$ii]['name'] ?></option>
							<?php }} ?>
							</select>
						<?php } ?>
						<?php if($this->_tpl_vars['attrread'][$i]['inputtype']=='radio'){ ?>
							<?php if (count($this->_tpl_vars['attrread'][$i]['attrvalue'])>0){$divid_ii=1;for($ii=0;$ii<count($this->_tpl_vars['attrread'][$i]['attrvalue']); $ii++){?>
							<input <?php if($this->_tpl_vars['attrread'][$i]['attrvalue'][$ii]['selected']=='selected'){ ?>checked="checked" <?php } ?>name="memberatt[<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>]" type="radio" value="<?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'][$ii]['name'] ?>" /> <?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'][$ii]['name'] ?>
							<?php }} ?>
						<?php } ?>
						<?php if($this->_tpl_vars['attrread'][$i]['inputtype']=='checkbox'){ ?>
							<?php if (count($this->_tpl_vars['attrread'][$i]['attrvalue'])>0){$divid_ii=1;for($ii=0;$ii<count($this->_tpl_vars['attrread'][$i]['attrvalue']); $ii++){?>
								<input <?php if($this->_tpl_vars['attrread'][$i]['attrvalue'][$ii]['selected']=='selected'){ ?>checked="checked" <?php } ?>name="memberatt[<?php echo $this->_tpl_vars['attrread'][$i]['attrname'] ?>][]" type="checkbox" value="<?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'][$ii]['name'] ?>" /> <?php echo $this->_tpl_vars['attrread'][$i]['attrvalue'][$ii]['name'] ?>
							<?php }} ?>
						<?php } ?>
						<?php if($this->_tpl_vars['attrread'][$i]['attrcue']!=''){ ?><span class="cautiontitle"><?php echo $this->_tpl_vars['attrread'][$i]['attrcue'] ?></span><?php } ?>
						</td>
					</tr>
					<?php } ?>
					<?php }} ?>
					<tr>
						<td class="td02 center" colspan="2" style="height:50px;line-height:50px;">
							<input name="submit" type="submit" class="buttonface" value="Submit"/>
						</td>
					</tr>
				</table>
				</form>
			</div>
		</div>
		<?php } elseif($this->_tpl_vars['out']=='editpassword'){ ?>
		<script type="text/javascript" src="<?php echo $this->_tpl_vars['url'] ?>js/passcheck.js"></script>
		<script type="text/javascript">
			var oldpassword_err = "<?php echo $this->_tpl_vars['lngpack']['oldpassword_err'] ?>";
			var password_len = "<?php echo $this->_tpl_vars['lngpack']['password_err'] ?>";
			var password_len2 = "<?php echo $this->_tpl_vars['lngpack']['password_len2'] ?>";
			var password2_empty = "<?php echo $this->_tpl_vars['lngpack']['password2_err'] ?>";
			var password_disaffinity = "<?php echo $this->_tpl_vars['lngpack']['password_equal'] ?>";

			var password_err1 = "<?php echo $this->_tpl_vars['lngpack']['password_err1'] ?>";
			var password_err2 = "<?php echo $this->_tpl_vars['lngpack']['password_err2'] ?>";
			var password_err3 = "<?php echo $this->_tpl_vars['lngpack']['password_err3'] ?>";
			var password_err4 = "<?php echo $this->_tpl_vars['lngpack']['password_err4'] ?>";
			var password_err5 = "<?php echo $this->_tpl_vars['lngpack']['password_err5'] ?>";
			$(document).ready(function(){
				$('#password').ESPpasscheck({
					verdects:[password_err1,password_err2,password_err3,password_err4,password_err5]
				});
			})
		</script>
		<div style="float:right;">
			<div class="righttext"><div class="ttitle"><h3>Password changes</h3></div></div>
			<div class="righttext center">
				<form name="editmember" id="editmember" method="post" action="<?php echo $this->_tpl_vars['mlink']['membersave'] ?>" onsubmit="return editpassword()">
				<input type="hidden" name="upurl" value="<?php echo $this->_tpl_vars['upurl'] ?>">
				<input type="hidden" name="inputclass" value="editpassword">
				<input type="hidden" name="userid" value="<?php echo $this->_tpl_vars['member']['userid'] ?>">
				<input type="hidden" name="username" value="<?php echo $this->_tpl_vars['member']['username'] ?>">
				<input type="hidden" name="email" value="<?php echo $this->_tpl_vars['member']['email'] ?>">
				<table style="width: 100%" class="tablelist">
					<tr>
						<td class="td02 right" width="20%">Username：</td>
						<td class="td02 left"><u><?php echo $this->_tpl_vars['member']['username'] ?></u></td>
					</tr>
					<tr>
						<td class="td02 right">E-mail：</td>
						<td class="td02 left"><u><?php echo $this->_tpl_vars['member']['email'] ?></u></td>
					</tr>
					<tr>
						<td class="td02 right">Old Password：</td>
						<td class="td02 left">
							<input type="password" name="oldpassword" id="oldpassword" size="18" maxlength="15" class="infoInput"/>
						</td>
					</tr>
					<tr>
						<td class="td02 right">New Password：</td>
						<td class="td02 left">
							<input type="password" name="password" id="password" size="18" maxlength="15" class="infoInput"/>  <span>5-15 characters, including letters, Chinese, numbers, underscores</span>
						</td>
					</tr>
					<tr>
						<td class="td02 right"></td>
						<td class="td02 left"><span id="passlist"></span></td>
					</tr>
					<tr>
						<td class="td02 right">Repeat new password：</td>
						<td class="td02 left"><input type="password" name="password2" id="password2" size="18" maxlength="15"  class="infoInput"/></td>
					</tr>
					<tr>
						<td class="td02 center" colspan="2" style="height:50px;line-height:50px;">
							<input name="submit" type="submit" class="buttonface" value="Change Password"/>
						</td>
					</tr>
				</table>
				</form>
			</div>
		</div>
		<?php } elseif($this->_tpl_vars['out']=='editemail'){ ?>
		<script type="text/javascript">
			var password_len = "<?php echo $this->_tpl_vars['lngpack']['password_err'] ?>";
			var email_match = "<?php echo $this->_tpl_vars['lngpack']['email_err'] ?>";
		</script>
		<div style="float:right;">
			<div class="righttext"><div class="ttitle"><h3>E-mail changes</h3></div></div>
			<div class="righttext center">
				<form name="editmember" id="editmember" method="post" action="<?php echo $this->_tpl_vars['mlink']['membersave'] ?>" onsubmit="return editmail()">
				<input type="hidden" name="upurl" value="<?php echo $this->_tpl_vars['upurl'] ?>">
				<input type="hidden" name="inputclass" value="editmail">
				<input type="hidden" name="userid" value="<?php echo $this->_tpl_vars['member']['userid'] ?>">
				<input type="hidden" name="username" value="<?php echo $this->_tpl_vars['member']['username'] ?>">
				<input type="hidden" name="email" value="<?php echo $this->_tpl_vars['member']['email'] ?>">
				<table style="width: 100%" class="tablelist">
					<tr>
						<td class="td02 right" width="20%">Username：</td>
						<td class="td02 left"><u><?php echo $this->_tpl_vars['member']['username'] ?></u></td>
					</tr>
					<tr>
						<td class="td02 right">The original e-mail：</td>
						<td class="td02 left"><u><?php echo $this->_tpl_vars['member']['email'] ?></u></td>
					</tr>
					<tr>
						<td class="td02 right">Password：</td>
						<td class="td02 left"><input type="password" name="password" id="password" size="18" maxlength="15" class="infoInput"/></td>
					</tr>
					<tr>
						<td class="td02 right">New E-mail：</td>
						<td class="td02 left"><input type="text" name="email" id="email" size="40" maxlength="100"  class="infoInput" onblur="checktypename('email',this.value,'<?php echo $this->_tpl_vars['mlink']['checkusername'] ?>','mailmsg','<?php echo $this->_tpl_vars['lngpack']['mem_regemail_ok'] ?>','<?php echo $this->_tpl_vars['lngpack']['mem_regemail_no'] ?>','editmailsubmit');" /> <span id="mailmsg"></span></td>
					</tr>
					<tr>
						<td class="td02 center" colspan="2" style="height:50px;line-height:50px;">
							<input name="submit" type="submit" class="buttonface" value="E-mail changes"/>
						</td>
					</tr>
				</table>
				</form>
			</div>
		</div>
		<?php } elseif($this->_tpl_vars['out']=='orderlist'){ ?>
		<div style="float:right;">
			<div class="righttext"><div class="ttitle"><h3>Order list</h3></div></div>
			<?php if(count($this->_tpl_vars['array']) > 0 ){ ?>
			<div class="righttext center">
				<table style="width: 100%" class="tablelist">
					<tr>
						<td class="td01">Order No.</td>
						<td class="td01">Orders</td>
						<td class="td01">Order status</td>
						<td class="td01">Order time</td>
						<td class="td01">Operating</td>
					</tr>
					<?php if (count($this->_tpl_vars['array'])>0){$divid_i=1;for($i=0;$i<count($this->_tpl_vars['array']); $i++){?>
					<tr>
						<td class="td02"><a href="<?php echo $this->_tpl_vars['array'][$i]['link'] ?>"><?php echo $this->_tpl_vars['array'][$i]['ordersn'] ?></a></td>
						<td class="td02"><?php echo $this->_tpl_vars['moneytype'] ?><?php echo $this->_tpl_vars['array'][$i]['orderamount'] ?></td>
						<td class="td02 colorgreg"><?php echo $this->_tpl_vars['array'][$i]['ordertypename'] ?></td>
						<td class="td02"><?php echo $this->timeformat($this->_tpl_vars['array'][$i]['addtime'],4) ?></td>
						<td class="td02">
							<a href="<?php echo $this->_tpl_vars['array'][$i]['link'] ?>">View Order</a>
							<?php if($this->_tpl_vars['array'][$i]['ordertype']==1){ ?><a href="javascript:if (confirm('Are you sure you want to cancel the order?')) location.href='<?php echo $this->_tpl_vars['array'][$i]['dlink'] ?>';">Cancel Order</a><?php } ?>
						</td>
					</tr>
					<?php }} ?>
				</table>
			</div>
			<div class="righttext center margintop8">
				<div id="pagelist"><?php echo $this->_tpl_vars['pagetext'] ?></div>
			</div>
			<div class="righttext center margintop8">
				<div id="Pagination" class="pagination"><?php echo $this->_tpl_vars['pagebotton'] ?></div>
			</div>
			<?php }else{ ?>
			<div class="righttext center margintop8">
				<div id="pagelist">No orders</div>
			</div>
			<?php } ?>
		</div>
		<?php } elseif($this->_tpl_vars['out']=='orderread'){ ?>
		<script type="text/javascript" src="<?php echo $this->_tpl_vars['url'] ?>js/ajax_city.js"></script>
		<script type="text/javascript">
		$(function() {
			sec_cityone('<?php echo $this->_tpl_vars['read']['country'] ?>','<?php echo $this->_tpl_vars['read']['province'] ?>');
			sec_citytwo('<?php echo $this->_tpl_vars['read']['province'] ?>','<?php echo $this->_tpl_vars['read']['city'] ?>');
			sec_district('<?php echo $this->_tpl_vars['read']['city'] ?>','<?php echo $this->_tpl_vars['read']['district'] ?>');
		});
		var citytwo_title = "<?php echo $this->_tpl_vars['lngpack']['citytwo_title'] ?>";
		var citythree_title = "<?php echo $this->_tpl_vars['lngpack']['citythree_title'] ?>";
		var district_title = "<?php echo $this->_tpl_vars['lngpack']['district_title'] ?>";
		var count_city_err = "<?php echo $this->_tpl_vars['lngpack']['count_city_err'] ?>";
		var address_title = "<?php echo $this->_tpl_vars['lngpack']['address_title'] ?>";
		var zipcode_empty = "<?php echo $this->_tpl_vars['lngpack']['zipcode_empty'] ?>";
		var alias_empty = "<?php echo $this->_tpl_vars['lngpack']['alias_empty'] ?>";
		var email_err = "<?php echo $this->_tpl_vars['lngpack']['email_err'] ?>";
		var tel_empty = "<?php echo $this->_tpl_vars['lngpack']['tel_empty'] ?>";
		</script>
		<div style="float:right;">
			<div class="righttext"><div class="ttitle"><h3>Order Basics</h3></div></div>
			<div class="righttext center">
				<table style="width: 100%" class="tablelist">
					<tr>
						<td class="td02 right" width="20%">Order No.：</td>
						<td class="td02 left"><u><?php echo $this->_tpl_vars['read']['ordersn'] ?></u></td>
					</tr>
					<tr>
						<td class="td02 right">Order time：</td>
						<td class="td02 left"><?php echo $this->timeformat($this->_tpl_vars['read']['addtime'],4) ?></td>
					</tr>
					<tr>
						<td class="td02 right">Order status：</td>
						<td class="td02 left"><?php echo $this->_tpl_vars['read']['ordertypename'] ?></td>
					</tr>
				</table>
			</div>
			<div class="righttext margintop8 "><div class="ttitle"><h3>Product List</h3></div></div>
			<div class="righttext center">
				<?php if(count($this->_tpl_vars['array']) > 0 ){ ?>
				<table style="width: 100%" class="tablelist">
					<tr>
						<td class="td01" valign="middle">Product Name</td>
						<td class="td01" valign="middle" align="right">Unit price</td>
						<td class="td01" valign="middle">Quantity</td>
						<td class="td01" valign="middle" align="right">Subtotal</td>
					</tr>
					<?php if (count($this->_tpl_vars['array'])>0){$divid_i=1;for($i=0;$i<count($this->_tpl_vars['array']); $i++){?>
					<tr>
						<td class="td02"><a target="_blank" href="<?php echo $this->_tpl_vars['array'][$i]['link'] ?>"><?php echo $this->_tpl_vars['array'][$i]['title'] ?></a></td>
						<td class="td02" valign="middle" align="right"><?php echo $this->_tpl_vars['moneytype'] ?><?php echo $this->_tpl_vars['array'][$i]['bprice'] ?></td>
						<td class="td02 colorgreg" valign="middle"><?php echo $this->_tpl_vars['array'][$i]['amount'] ?></td>
						<td class="td02" align="right"><?php echo $this->_tpl_vars['moneytype'] ?><?php echo $this->_tpl_vars['array'][$i]['countprice'] ?></td>
					</tr>
					<?php }} ?>
				</table>
				<?php }else{ ?>
				<table width="100%" class="tablelist">
					<tr align="center" class="td02"><td valign="middle">No order products or product data does not exist!</td></tr>
				</table>
				<?php } ?>
			</div>
			<div class="righttext margintop8 "><div class="ttitle"><h3>The amount and payment</h3></div></div>
			<div class="righttext center">
				<table style="width: 100%" class="tablelist">
					<tr>
						<td class="td02 right" width="20%">The total amount of goods：</td>
						<td class="td02 left"><?php echo $this->_tpl_vars['moneytype'] ?><?php echo $this->_tpl_vars['read']['productmoney'] ?></td>
					</tr>
					<tr>
						<td class="td02 right">Shipping costs：</td>
						<td class="td02 left"><?php echo $this->_tpl_vars['moneytype'] ?><?php echo $this->_tpl_vars['read']['shippingmoney'] ?></td>
					</tr>
					<tr>
						<td class="td02 right">Discount：</td>
						<td class="td02 left"><?php echo $this->_tpl_vars['moneytype'] ?><?php echo $this->_tpl_vars['read']['discount'] ?></td>
					</tr>
					<tr>
						<td class="td02 right">Order total：</td>
						<td class="td02 left">The total amount of goods<?php echo $this->_tpl_vars['moneytype'] ?><?php echo $this->_tpl_vars['read']['productmoney'] ?> - Discount<?php echo $this->_tpl_vars['moneytype'] ?><?php echo $this->_tpl_vars['read']['discount'] ?> + Freight<?php echo $this->_tpl_vars['moneytype'] ?><?php echo $this->_tpl_vars['read']['shippingmoney'] ?> + Payment of fees<?php echo $this->_tpl_vars['moneytype'] ?><?php echo $this->_tpl_vars['read']['paymoney'] ?> = Order total<?php echo $this->_tpl_vars['moneytype'] ?><?php echo $this->_tpl_vars['read']['orderamount'] ?></td>
					</tr>
					<tr>
						<td class="td02 right">Discount：</td>
						<td class="td02 left"><?php echo $this->_tpl_vars['read']['discount'] ?></td>
					</tr>
					<?php if($this->_tpl_vars['read']['paytime']>0){ ?>
					<tr>
						<td class="td02 right">Payment：</td>
						<td class="td02 left"><?php echo $this->_tpl_vars['pay']['payname'] ?></td>
					</tr>
					<tr>
						<td class="td02 right">Payment certificate No.</td>
						<td class="td02 left"><?php echo $this->_tpl_vars['read']['paysn'] ?></td>
					</tr>
					<tr>
						<td class="td02 right">Paid time：</td>
						<td class="td02 left"><?php echo $this->timeformat($this->_tpl_vars['read']['paytime'],4) ?></td>
					</tr>
					<?php }else{ ?>
					<tr>
						<td class="td02 right">I have to pay.</td>
						<td class="td02 left"><?php echo $this->_tpl_vars['orderonline'] ?></td>
					</tr>
					<?php } ?>
				</table>
			</div>
			<?php if($this->_tpl_vars['read']['ordertype']==1 || $this->_tpl_vars['read']['ordertype']==2){ ?>
			<div class="righttext margintop8 "><div class="ttitle"><h3>Receiving information changes</h3></div></div>
			<div class="righttext center">
				<form name="ordersaveform" method="post" action="<?php echo $this->_tpl_vars['mlink']['ordereditsave'] ?>" onsubmit="return ordersave()">
				<input type="hidden" name="oid" value="<?php echo $this->_tpl_vars['read']['oid'] ?>"/>
				<input type="hidden" name="email" value="<?php echo $this->_tpl_vars['read']['email'] ?>"/>
				<table style="width: 100%" class="tablelist">
					<tr>
						<td class="td02 right" width="20%">Addressee：</td>
						<td class="td02 left"><input type="text" name="alias" value="<?php echo $this->_tpl_vars['read']['consignee'] ?>" maxlength="50" size="30" class="infoInput"></td>
					</tr>
					<tr>
						<td class="td02 right">E-mail：</td>
						<td class="td02 left"><?php echo $this->_tpl_vars['read']['email'] ?></td>
					</tr>
					<tr>
						<td class="td02 right">Region：</td>
						<td class="td02 left">
							<select size="1" name="cityone" class="select" id="cityone">
								<option value="0" <?php if($this->_tpl_vars['read']['country']==0){ ?>selected<?php } ?>>Country</option>
								<option value="1" <?php if($this->_tpl_vars['read']['country']==1){ ?>selected<?php } ?>>CHINA</option>
							</select>
							<select size="1" name="citytwo" class="select" id="citytwo">
								<option selected value="0">Province</option>
							</select>
							<select size="1" name="citythree" class="select" id="citythree">
								<option selected value="0">City</option>
							</select>
							<select size="1" name="district" class="select" id="district">
								<option selected value="0">Region</option>
							</select>
							<span id="loading">Loading</span>
						</td>
					</tr>
					<tr>
						<td class="td02 right">Address：</td>
						<td class="td02 left"><input type="text" name="address" value="<?php echo $this->_tpl_vars['read']['address'] ?>" maxlength="120" size="60" class="infoInput"></td>
					</tr>
					<tr>
						<td class="td02 right">ZipCode：</td>
						<td class="td02 left"><input type="text" name="zipcode" value="<?php echo $this->_tpl_vars['read']['zipcode'] ?>" maxlength="10" size="10" class="smallInput"></td>
					</tr>
					<tr>
						<td class="td02 right">TEL：</td>
						<td class="td02 left"><input type="text" name="tel" value="<?php echo $this->_tpl_vars['read']['tel'] ?>" maxlength="20" size="10" class="smallInput"></td>
					</tr>
					<tr>
						<td class="td02 right">Mobile：</td>
						<td class="td02 left"><input type="text" name="mobile" value="<?php echo $this->_tpl_vars['read']['mobile'] ?>" maxlength="25" size="15" class="smallInput"></td>
					</tr>
					<tr>
						<td class="td02 right">Delivery time：</td>
						<td class="td02 left">
							<select size="1" name="sendtime" class="select">
							    <option value="1" <?php if($this->_tpl_vars['read']['sendtime']==1){ ?>selected<?php } ?>>Working day, weekend and holiday delivery available</option>
							    <option value="2" <?php if($this->_tpl_vars['read']['sendtime']==2){ ?>selected<?php } ?>>Only weekends, holidays and delivery (working days do not send)</option>
							    <option value="3" <?php if($this->_tpl_vars['read']['sendtime']==3){ ?>selected<?php } ?>>Only working days delivery (weekends, holidays do not send)</option>
							    <option value="4" <?php if($this->_tpl_vars['read']['sendtime']==4){ ?>selected<?php } ?>>Try to arrange delivery time, please Remarks</option>
							</select>
						</td>
					</tr>
					<tr>
						<td class="td02 right">Delivery mode：</td>
						<td class="td02 left">
						    <?php echo $this->_tpl_vars['shiping']['title'] ?>
						    <?php if($this->_tpl_vars['read']['shippingtime']==0){ ?>
						    <font color="red"><b>No delivery</b></font>
						    <?php }else{ ?>
						    <font color="#008A00">Has delivery</font>&nbsp;&nbsp;
						    <b>Logistics odd numbers：</b><u><?php echo $this->_tpl_vars['read']['shippingsn'] ?></u>&nbsp;&nbsp;
						    <b>Delivery time：</b><u><?php echo $this->timeformat($this->_tpl_vars['read']['shippingtime'],4) ?></u>
						    <?php } ?>
						</td>
					</tr>
					<tr>
						<td class="td02 right">Notes：</td>
						<td class="td02 left"><textarea name="content" rows="3" cols="50"><?php echo $this->_tpl_vars['read']['content'] ?></textarea></td>
					</tr>
					<tr>
						<td class="td02 right"></td>
						<td class="td02 left"><input name="submit" type="submit" id="submit" class="buttonface" value="Modify"/></td>
					</tr>
				</table>
				</form>
			</div>
			<?php }else{ ?>
			<div class="righttext margintop8 "><div class="ttitle"><h3>Receiving information</h3></div></div>
			<div class="righttext center">
				<table style="width: 100%" class="tablelist">
					<tr>
						<td class="td02 right" width="20%">Consignee：</td>
						<td class="td02 left"><?php echo $this->_tpl_vars['read']['consignee'] ?></td>
					</tr>
					<tr>
						<td class="td02 right">E-mail：</td>
						<td class="td02 left"><?php echo $this->_tpl_vars['read']['email'] ?></td>
					</tr>
					<tr>
						<td class="td02 right">Region：</td>
						<td class="td02 left">
							<select size="1" name="cityone" class="select" id="cityone" disabled>
								<option value="0" <?php if($this->_tpl_vars['read']['country']==0){ ?>selected<?php } ?>>Country</option>
								<option value="1" <?php if($this->_tpl_vars['read']['country']==1){ ?>selected<?php } ?>>CHINA</option>
							</select>
							<select size="1" name="citytwo" class="select" id="citytwo" disabled>
								<option selected value="0">Province</option>
							</select>
							<select size="1" name="citythree" class="select" id="citythree" disabled>
								<option selected value="0">City</option>
							</select>
							<select size="1" name="district" class="select" id="district" disabled>
								<option selected value="0">Region</option>
							</select>
							<span id="loading">Loading</span>
						</td>
					</tr>
					<tr>
						<td class="td02 right">Address：</td>
						<td class="td02 left"><?php echo $this->_tpl_vars['read']['address'] ?></td>
					</tr>
					<tr>
						<td class="td02 right">Zipcode：</td>
						<td class="td02 left"><?php echo $this->_tpl_vars['read']['zipcode'] ?></td>
					</tr>
					<tr>
						<td class="td02 right">TEL：</td>
						<td class="td02 left"><?php echo $this->_tpl_vars['read']['tel'] ?></td>
					</tr>
					<tr>
						<td class="td02 right">Mobile：</td>
						<td class="td02 left"><?php echo $this->_tpl_vars['read']['mobile'] ?></td>
					</tr>
					<tr>
						<td class="td02 right">Delivery time：</td>
						<td class="td02 left">
							<?php if($this->_tpl_vars['read']['sendtime']==1){ ?>Working day, weekend and holiday delivery available<?php } ?>
							<?php if($this->_tpl_vars['read']['sendtime']==2){ ?>Only weekends, holidays and delivery (working days do not send)<?php } ?>
							<?php if($this->_tpl_vars['read']['sendtime']==3){ ?>Working day delivery (weekends, holidays do not send)<?php } ?>
							<?php if($this->_tpl_vars['read']['sendtime']==4){ ?>Try to arrange delivery time, please Remarks<?php } ?>
						</td>
					</tr>
					<tr>
						<td class="td02 right">Delivery mode：</td>
						<td class="td02 left">
						    <?php echo $this->_tpl_vars['shiping']['title'] ?>
						    <?php if($this->_tpl_vars['read']['shippingtime']==0){ ?>
						    <font color="red"><b>No delivery</b></font>
						    <?php }else{ ?>
						    <font color="#008A00">Has delivery</font>&nbsp;&nbsp;
						    <b>Logistics odd numbers：</b><u><?php echo $this->_tpl_vars['read']['shippingsn'] ?></u>&nbsp;&nbsp;
						    <b>Delivery time：</b><u><?php echo $this->timeformat($this->_tpl_vars['read']['shippingtime'],4) ?></u>
						    <?php } ?>
						</td>
					</tr>
				</table>
			</div>
			<?php } ?>
			<div class="righttext margintop8 "><div class="ttitle"><h3>Other informationn</h3></div></div>
			<div class="righttext center">
				<table style="width: 100%" class="tablelist">
					<tr>
						<td class="td02 right" width="20%">Invoice：</td>
						<td class="td02 left"><?php echo $this->_tpl_vars['read']['invpayee'] ?></td>
					</tr>
					<tr>
						<td class="td02 right">An invoice：</td>
						<td class="td02 left"><?php echo $this->_tpl_vars['read']['invcontent'] ?></td>
					</tr>
					<tr>
						<td class="td02 right">Content：</td>
						<td class="td02 left"><?php echo $this->_tpl_vars['read']['content'] ?></td>
					</tr>
					<?php if($this->_tpl_vars['read']['integral']>0){ ?>
					<tr>
						<td class="td02 right">The order from points：</td>
						<td class="td02 left"><?php echo $this->_tpl_vars['read']['integral'] ?></td>
					</tr>
					<?php } ?>
				</table>
			</div>
		</div>
		<?php } elseif($this->_tpl_vars['out']=='enquirylist'){ ?>
		<!--询盘列表-->
		<div style="float:right;">
			<div class="righttext"><div class="ttitle"><h3>Enquiries </h3></div></div>
			<?php if(count($this->_tpl_vars['array']) > 0 ){ ?>
			<div class="righttext center">
				<table style="width: 100%" class="tablelist">
					<tr>
						<td class="td01">Number</td>
						<td class="td01">Status</td>
						<td class="td01">Time</td>
						<td class="td01">Operation</td>
					</tr>
					<?php if (count($this->_tpl_vars['array'])>0){$divid_i=1;for($i=0;$i<count($this->_tpl_vars['array']); $i++){?>
					<tr>
						<td class="td02"><a href="<?php echo $this->_tpl_vars['array'][$i]['link'] ?>"><?php echo $this->_tpl_vars['array'][$i]['enquirysn'] ?></a></td>
						<td class="td02 colorgreg">
							<?php if($this->_tpl_vars['array'][$i]['isclass']==0){ ?>
							New
							<?php } elseif($this->_tpl_vars['array'][$i]['isclass']==1){ ?>
							Has returned
							<?php } elseif($this->_tpl_vars['array'][$i]['isclass']==2){ ?>
							Obsolete
							<?php } ?>
						</td>
						<td class="td02"><?php echo $this->timeformat($this->_tpl_vars['array'][$i]['addtime'],4) ?></td>
						<td class="td02">
							<a href="<?php echo $this->_tpl_vars['array'][$i]['link'] ?>">View</a>
							<?php if($this->_tpl_vars['array'][$i]['isclass']==0){ ?><a href="javascript:if (confirm('Are you sure you want to cancel the inquiry it?')) location.href='<?php echo $this->_tpl_vars['array'][$i]['dlink'] ?>';">Cancel</a><?php } ?>
						</td>
					</tr>
					<?php }} ?>
				</table>
			</div>
			<div class="righttext center margintop8">
				<div id="pagelist"><?php echo $this->_tpl_vars['pagetext'] ?></div>
			</div>
			<div class="righttext center margintop8">
				<div id="Pagination" class="pagination"><?php echo $this->_tpl_vars['pagebotton'] ?></div>
			</div>
			<?php }else{ ?>
			<div class="righttext center margintop8">
				<div id="pagelist">No information</div>
			</div>
			<?php } ?>
		</div>
		<?php } elseif($this->_tpl_vars['out']=='enquiryread'){ ?>
		<!--询盘信息-->
		<script type="text/javascript" src="<?php echo $this->_tpl_vars['url'] ?>js/ajax_city.js"></script>
		<script type="text/javascript">
		$(function() {
			sec_cityone('<?php echo $this->_tpl_vars['read']['country'] ?>','<?php echo $this->_tpl_vars['read']['province'] ?>');
			sec_citytwo('<?php echo $this->_tpl_vars['read']['province'] ?>','<?php echo $this->_tpl_vars['read']['city'] ?>');
			sec_district('<?php echo $this->_tpl_vars['read']['city'] ?>','<?php echo $this->_tpl_vars['read']['district'] ?>');
		});
		var citytwo_title = "<?php echo $this->_tpl_vars['lngpack']['citytwo_title'] ?>";
		var citythree_title = "<?php echo $this->_tpl_vars['lngpack']['citythree_title'] ?>";
		var district_title = "<?php echo $this->_tpl_vars['lngpack']['district_title'] ?>";
		var count_city_err = "<?php echo $this->_tpl_vars['lngpack']['count_city_err'] ?>";
		var address_title = "<?php echo $this->_tpl_vars['lngpack']['address_title'] ?>";
		var zipcode_empty = "<?php echo $this->_tpl_vars['lngpack']['zipcode_empty'] ?>";
		var alias_empty = "<?php echo $this->_tpl_vars['lngpack']['alias_empty'] ?>";
		var email_err = "<?php echo $this->_tpl_vars['lngpack']['email_err'] ?>";
		var tel_empty = "<?php echo $this->_tpl_vars['lngpack']['tel_empty'] ?>";
		</script>
		<div style="float:right;">
			<div class="righttext"><div class="ttitle"><h3>Basic Information Inquiry</h3></div></div>
			<div class="righttext center">
				<table style="width: 100%" class="tablelist">
					<tr>
						<td class="td02 right" width="20%">Number：</td>
						<td class="td02 left"><u><?php echo $this->_tpl_vars['read']['enquirysn'] ?></u></td>
					</tr>
					<tr>
						<td class="td02 right">Time：</td>
						<td class="td02 left"><?php echo $this->timeformat($this->_tpl_vars['read']['addtime'],4) ?></td>
					</tr>
					<tr>
						<td class="td02 right">Status：</td>
						<td class="td02 left">
							<?php if($this->_tpl_vars['read']['isclass']==0){ ?>
							New
							<?php } elseif($this->_tpl_vars['read']['isclass']==1){ ?>
							Has returned
							<?php } elseif($this->_tpl_vars['read']['isclass']==2){ ?>
							Obsolete
							<?php } ?>
						</td>
					</tr>
				</table>
			</div>
			<div class="righttext margintop8 "><div class="ttitle"><h3>Inquiry Products</h3></div></div>
			<div class="righttext center">
				<?php if(count($this->_tpl_vars['array']) > 0 ){ ?>
				<table style="width: 100%" class="tablelist">
					<tr>
						<td class="td01" valign="middle">Name</td>
						<td class="td01" valign="middle">Number</td>
						<td class="td01" valign="middle">Amount</td>
					</tr>
					<?php if (count($this->_tpl_vars['array'])>0){$divid_i=1;for($i=0;$i<count($this->_tpl_vars['array']); $i++){?>
					<tr>
						<td class="td02"><a target="_blank" href="<?php echo $this->_tpl_vars['array'][$i]['link'] ?>"><?php echo $this->_tpl_vars['array'][$i]['title'] ?></a></td>
						<td class="td02" valign="middle"><?php echo $this->_tpl_vars['array'][$i]['tsn'] ?></td>
						<td class="td02 colorgreg" valign="middle"><?php echo $this->_tpl_vars['array'][$i]['amount'] ?></td>
					</tr>
					<?php }} ?>
				</table>
				<?php }else{ ?>
				<table width="100%" class="tablelist">
					<tr align="center" class="td02"><td valign="middle">No consultation session does not exist a product or product data!</td></tr>
				</table>
				<?php } ?>
			</div>
			<?php if($this->_tpl_vars['read']['isclass']==0){ ?>
			<div class="righttext margintop8 "><div class="ttitle"><h3>Contact Information Change</h3></div></div>
			<div class="righttext center">
				<form name="mainform" method="post" action="<?php echo $this->_tpl_vars['mlink']['enquiryeditsave'] ?>" onsubmit="return enquirysave()">
				<input type="hidden" name="eid" value="<?php echo $this->_tpl_vars['read']['eid'] ?>"/>
				<input type="hidden" name="email" value="<?php echo $this->_tpl_vars['read']['email'] ?>"/>
				<table style="width: 100%" class="tablelist">
					<tr>
						<td class="td02 right" width="20%">Linkman：</td>
						<td class="td02 left"><input type="text" name="linkman" value="<?php echo $this->_tpl_vars['read']['linkman'] ?>" maxlength="50" size="30" class="infoInput"></td>
					</tr>
					<tr>
						<td class="td02 right">E-mail：</td>
						<td class="td02 left"><?php echo $this->_tpl_vars['read']['email'] ?></td>
					</tr>
					<tr>
						<td class="td02 right">Region：</td>
						<td class="td02 left">
							<select size="1" name="cityone" class="select" id="cityone">
								<option value="0" <?php if($this->_tpl_vars['read']['country']==0){ ?>selected<?php } ?>>Please select a country</option>
								<option value="1" <?php if($this->_tpl_vars['read']['country']==1){ ?>selected<?php } ?>>China</option>
							</select>
							<select size="1" name="citytwo" class="select" id="citytwo">
								<option selected value="0">Select province</option>
							</select>
							<select size="1" name="citythree" class="select" id="citythree">
								<option selected value="0">Select city</option>
							</select>
							<select size="1" name="district" class="select" id="district">
								<option selected value="0">Select district</option>
							</select>
							<span id="loading">Loading</span>
						</td>
					</tr>
					<tr>
						<td class="td02 right">Address：</td>
						<td class="td02 left"><input type="text" name="address" value="<?php echo $this->_tpl_vars['read']['address'] ?>" maxlength="120" size="60" class="infoInput"></td>
					</tr>
					<tr>
						<td class="td02 right">Zipcode：</td>
						<td class="td02 left"><input type="text" name="zipcode" value="<?php echo $this->_tpl_vars['read']['zipcode'] ?>" maxlength="10" size="10" class="smallInput"></td>
					</tr>
					<tr>
						<td class="td02 right">TEL：</td>
						<td class="td02 left"><input type="text" name="tel" value="<?php echo $this->_tpl_vars['read']['tel'] ?>" maxlength="20" size="30" class="smallInput"></td>
					</tr>
					<tr>
						<td class="td02 right">FAX：</td>
						<td class="td02 left"><input type="text" name="fax" value="<?php echo $this->_tpl_vars['read']['fax'] ?>" maxlength="20" size="30" class="smallInput"></td>
					</tr>
					<tr>
						<td class="td02 right">Mobile：</td>
						<td class="td02 left"><input type="text" name="mobile" value="<?php echo $this->_tpl_vars['read']['mobile'] ?>" maxlength="25" size="30" class="smallInput"></td>
					</tr>
					<tr>
						<td class="td02 right">Remarks：</td>
						<td class="td02 left"><textarea name="content" rows="3" cols="50"><?php echo $this->_tpl_vars['read']['content'] ?></textarea></td>
					</tr>
					<tr>
						<td class="td02 right"></td>
						<td class="td02 left"><input name="submit" type="submit" id="submit" class="buttonface" value="Submitted" /></td>
					</tr>
				</table>
				</form>
			</div>
			<?php }else{ ?>
			<div class="righttext margintop8 "><div class="ttitle"><h3>Contact Information</h3></div></div>
			<div class="righttext center">
				<table style="width: 100%" class="tablelist">
					<tr>
						<td class="td02 right" width="20%">Linkman：</td>
						<td class="td02 left"><?php echo $this->_tpl_vars['read']['linkman'] ?></td>
					</tr>
					<tr>
						<td class="td02 right">E-mail：</td>
						<td class="td02 left"><?php echo $this->_tpl_vars['read']['email'] ?></td>
					</tr>
					<tr>
						<td class="td02 right">Region：</td>
						<td class="td02 left">
							<select size="1" name="cityone" class="select" id="cityone" disabled>
								<option value="0" <?php if($this->_tpl_vars['read']['country']==0){ ?>selected<?php } ?>>Please select a country</option>
								<option value="1" <?php if($this->_tpl_vars['read']['country']==1){ ?>selected<?php } ?>>China</option>
							</select>
							<select size="1" name="citytwo" class="select" id="citytwo" disabled>
							    <option selected value="0">Select province</option>
							</select>
							<select size="1" name="citythree" class="select" id="citythree" disabled>
							   <option selected value="0">Select city</option>
							</select>
							<select size="1" name="district" class="select" id="district" disabled>
							   <option selected value="0">Select district</option>
							</select>
							<span id="loading">Loading</span>
						</td>
					</tr>
					<tr>
						<td class="td02 right">Address：</td>
						<td class="td02 left"><?php echo $this->_tpl_vars['read']['address'] ?></td>
					</tr>
					<tr>
						<td class="td02 right">Zipcode：</td>
						<td class="td02 left"><?php echo $this->_tpl_vars['read']['zipcode'] ?></td>
					</tr>
					<tr>
						<td class="td02 right">TEL：</td>
						<td class="td02 left"><?php echo $this->_tpl_vars['read']['tel'] ?></td>
					</tr>
					<tr>
						<td class="td02 right">FAX：</td>
						<td class="td02 left"><?php echo $this->_tpl_vars['read']['fax'] ?></td>
					</tr>
					<tr>
						<td class="td02 right">Mobile：</td>
						<td class="td02 left"><?php echo $this->_tpl_vars['read']['mobile'] ?></td>
					</tr>
					<tr>
						<td class="td02 right">Remarks：</td>
						<td class="td02 left"><?php echo $this->_tpl_vars['read']['content'] ?></td>
					</tr>
				</table>
			</div>
			<?php if($this->_tpl_vars['read']['isclass']==1){ ?>
			<div class="righttext margintop8 "><div class="ttitle"><h3>Responding to the results</h3></div></div>
			<div class="righttext center">
				<table style="width: 100%" class="tablelist">
					<tr>
						<td class="td02 right" width="20%">Reply：</td>
						<td class="td02 left"><?php echo $this->_tpl_vars['read']['editresult'] ?></td>
					</tr>
					<tr>
						<td class="td02 right" width="20%">Reply Time：</td>
						<td class="td02 left"><?php echo $this->timeformat($this->_tpl_vars['read']['edittime'],4) ?></td>
					</tr>
				</table>
			</div>
			<?php } ?>
			<?php } ?>
		</div>
		<?php } ?>
	</div>
	<!--版权声明-->
826870a379354a6b252b0af7b0331b7fyekayo/en/public/footer_nav.html|826870a379354a6b252b0af7b0331b7f
826870a379354a6b252b0af7b0331b7fyekayo/en/public/footer.html|826870a379354a6b252b0af7b0331b7f
